<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/commons/taglibs.jsp" %>
<html>
<head>
<title>人员信息</title>
<%@ include file="/commons/meta.jsp" %>
<%@ include file="/commons/calendar.jsp" %>
<style type="text/css">
.divcontent21{width:99%;height:250px;overflow:auto}
</style>
</head>
<body class="ejectbody" style="overflow:hidden">
<html:form action="/actions/personDispatcher.do?method=save" enctype="multipart/form-data" onsubmit="return validatePersonForm(this)">
<html:hidden property="id"/>
<input type="hidden" name="departmentId" value="<%=request.getParameter("departmentId") %>" />
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td></td>
  </tr>
  <tr>
    <td><table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr>
        <td width="10"><img id="eject_windos_01" src="<c:out value="${ctx}"/>/images/eject_windos_01.gif" width="10" height="9" alt="" /></td>
        <td colspan="3" background="<c:out value="${ctx}"/>/images/eject_windos_02.gif"><img id="eject_windos_02" src="<c:out value="${ctx}"/>/images/eject_windos_02.gif" width="617" height="9" alt="" /></td>
        </tr>
      <tr>
        <td valign="bottom" class="eject_left_bg"><img src="<c:out value="${ctx}"/>/images/eject_windos_left.gif" alt="" name="eject_windos_04" width="10" height="213" id="eject_windos_04" /></td>
        <td colspan="2" valign="top"><table width="100%" height="0%" border="0" cellpadding="0" cellspacing="0" id="__01" class="id_01">
            <tr>
              <td width="7" height="100%" valign="top"><img id="top_table_01" src="<c:out value="${ctx}"/>/images/top_table_01.gif" width="7" height="13" alt="" /></td>
              <td  class="top_table_bg_eage"></td>
              <td width="10" valign="top"><img id="top_table_03" src="<c:out value="${ctx}"/>/images/top_table_03.gif" width="17" height="13" alt="" /></td>
            </tr>
          </table> 
            <table width= "100%" height="" align="left" cellpadding="0" cellspacing="0"  class="id_01" >
              <tr>
                <td width="130"  class="ineject_right_bg"></td>
				
                <td valign="top">
				 <div class="add_table_name">人员信息</div>
				 <div class="divcontent21" id="divContent">
				 <table width="100%" border="1"  cellpadding="0" cellspacing="0" class="add">
                    <tr>
                      <td width="99" nowrap  class="addtr">姓名<span class="red_font">(*)</span></td>
                      <td width="260" class="addtd"  ><html:text property="name" maxlength="30" styleClass="name"></html:text></td>
                      <td width="86" nowrap  class="addtr">性别<span class="red_font">(*)</span></td>
                      <td class="addtd"  >
                        <html:radio property="sex" value="男">男</html:radio>
	                	<html:radio property="sex" value="女">女</html:radio>
                      </td>
                    </tr>
                    
                    <tr>
                      <td nowrap  class="addtr">出生日期<span class="red_font">(*)</span></td>
                      <td class="addtd"  ><html:text property="birthday" styleId="f_date_c" readonly="true"></html:text><img src="<c:out value="${ctx}"/>/widgets/calendar/img.gif"
							id="f_trigger_c"
							style="cursor: pointer; border: 1px solid red;"
							title="请选择日期" onmouseover="this.style.background='red';"
							onmouseout="this.style.background=''" />
						<script type="text/javascript">
							Calendar.setup({
								inputField     :    "f_date_c",    
								button         :    "f_trigger_c", 
								ifFormat       :    "%Y-%m-%d",     
								align          :    "Cc",  
								singleClick    :    true
							});
						</script></td>
                      <td nowrap  class="addtr">籍贯</td>
                      <td class="addtd"  >
                        <html:text property="nativePlace" ></html:text>
                      </td>
                    </tr>
                    
                    <tr>
                      <td nowrap  class="addtr">身高<span class="red_font">(*)</span></td>
                      <td class="addtd"><html:text property="height"></html:text></td>
                      <td nowrap  class="addtr">体重<span class="red_font">(*)</span></td>
                      <td class="addtd"  >
                        <html:text property="weight"></html:text>
                      </td>
                    </tr>
                    
                    <tr>
                      <td nowrap  class="addtr">个人爱好</td>
                      <td class="addtd">
                      	<html:multibox property="hobby">篮球</html:multibox>篮球
               			<html:multibox property="hobby">足球</html:multibox>足球
               			<html:multibox property="hobby">乒乓球</html:multibox>乒乓球
               		  </td>
                      <td nowrap  class="addtr">擅长的技术</td>
                      <td class="addtd"  >
                        <html:select property="technology" multiple="true">
	                		<html:option value="spring">spring</html:option>
	                		<html:option value="struts">struts</html:option>
	                		<html:option value="hibernate">hibernate</html:option>
	                	</html:select>
                      </td>
                    </tr>
                    
                    <tr>
                      <td nowrap  class="addtr">Email</td>
                      <td class="addtd"><html:text property="email"></html:text></td>
                      <td nowrap  class="addtr">照片</td>
                      <td class="addtd"  >
                        <html:file property="photo"/>
                      </td>
                    </tr>
                    
                    <tr>
                      <td class="addtr"  >&nbsp;</td>
                      <td class="addtd"><span class="red_font">(*)</span>为必填项</td>
                    </tr>
                  </table>
                </div></td>
                <td width="12" class="top_table_bg_left"></td>
              </tr>
              <tr>
                <td width="7" background="<c:out value="${ctx}"/>/images/eject_windows_08.gif"><img src="<c:out value="${ctx}"/>/images/eject_windows_07.gif" width="7" height="31" alt="" /></td>
                <td class="ejectturnpage_Bg"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td width="50">&nbsp;</td>
                      <td width="26%"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                          <tr>
                            <td><input name="Submit2" type="submit" class="button2" value="提交" /></td>
                            <td><input name="Submit" type="button" class="button2_double_border" value="取消" onClick="window.close();"/></td>
                            <td>&nbsp;</td>
                          </tr>
                      </table></td>
                    </tr>
                </table></td>
                <td background="<c:out value="${ctx}"/>/images/eject_windows_08.gif"><img src="<c:out value="${ctx}"/>/images/eject_windows_09.gif" width="12" height="31" alt="" /></td>
              </tr>
          </table></td>
        <td width="10" valign="bottom" class="eject_right_bg"><img id="eject_windos_06" src="<c:out value="${ctx}"/>/images/eject_windos_right.gif" width="8" height="213" alt="" /></td>
      </tr>
      <tr>
        <td><img id="eject_windos_07" src="<c:out value="${ctx}"/>/images/eject_windos_07.gif" width="10" height="11" alt="" /></td>
        <td width="9" background="<c:out value="${ctx}"/>/images/eject_windos_08.gif"><img id="eject_windos_08" src="<c:out value="${ctx}"/>/images/eject_windos_08.gif" width="8" height="11" alt="" /></td>
        <td width="810" background="<c:out value="${ctx}"/>/images/eject_windos_09.gif"><img src="<c:out value="${ctx}"/>/images/eject_windos_09.gif" alt="" name="eject_windos_09" width="609" height="11" id="eject_windos_09" /></td>
        <td><img src="<c:out value="${ctx}"/>/images/eject_windos_10.gif" alt="" name="eject_windos_10" width="10" height="11" id="eject_windos_10" /></td>
      </tr>
    </table></td>
  </tr>
</table>
 </html:form>
 <html:javascript formName="personForm" staticJavascript="false" dynamicJavascript="true" cdata="false"/>
<script type="text/javascript" src="<c:out value="${ctx}"/>/scripts/validator.jsp"></script>
</body>
</html>